package com.wxb.service.impl;

import com.wxb.domain.MallKeywordsEntity;
import com.wxb.mapper.MallKeywordsMapper;
import com.wxb.service.IMallKeywordsService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * @Date 2025-05-28 10:13
 * @Version 1.0
 * @Description
 * @ClassName MallKeywordsServiceImpl
 **/
@Service
public class MallKeywordsServiceImpl implements IMallKeywordsService {
    @Resource
    private MallKeywordsMapper mallKeywordsMapper;

@Override
    public MallKeywordsEntity queryObject(Integer id) {
        return mallKeywordsMapper.queryObject(id);
    }

@Override
    public List<MallKeywordsEntity> queryList(Map<String, Object> map) {
        return mallKeywordsMapper.queryList(map);
    }

    @Override
    public int queryTotal(Map<String, Object> map) {
        return mallKeywordsMapper.queryTotal(map);
    }

    @Override
    public void save(MallKeywordsEntity goods) {
        mallKeywordsMapper.save(goods);
    }

    @Override
    public void update(MallKeywordsEntity goods) {
        mallKeywordsMapper.update(goods);
    }

    @Override
    public void delete(Integer id) {
        mallKeywordsMapper.delete(id);
    }

    @Override
    public void deleteBatch(Integer[] ids) {
        mallKeywordsMapper.deleteBatch(ids);
    }
    @Override
    public List<Map> hotKeywordList(Map<String, Object> map) {
        return mallKeywordsMapper.hotKeywordList(map);
    }
}
